package main

import (
	"net/http"
	"net/http/httputil"
)

const (
	url = "http://www.imooc.com"
)

func main() {
	request, err := http.NewRequest(http.MethodGet, url, nil)
	if err != nil {
		panic(err)
	}
	httputil.DumpRequest(request, true)

}
